package STUDENT.TRANNGUYENQUAN.OOPs.OBJECT_AND_CLASSES.Stock;

public class Views {

	public static void main(String[] args) {
		Stock sto1 = new Stock("SUNW", "Sun Microsystems Inc");
		sto1.setCurrentPrice(90);
		sto1.setPreviousClosingPrice(100);
		StockControllers controller = new StockControllers();
		System.out.println("Ma: "+sto1.getSymbol()+", Ten Co Phieu: "+sto1.getName()+", Gia tri phien giao dich truoc: "+sto1.getPreviousClosingPrice()+", Gia tri hien tai: "+sto1.getCurrentPrice());
		System.out.println("Thay doi ti gia co phieu ngay hom nay so voi ngay hom qua: "+controller.Check(sto1));
	}
}
